﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EngineOfEvermore.Editor.Common.Controls
{
    public partial class ResourceReferenceUpdaterForm : Form
    {
        public String CurrentResourceName
        {
            set { _currentResourceLabel.Text = value; }
            get { return _currentResourceLabel.Text; }
        }

        public String CurrentResourceUpdaterMessage
        {
            set { _currentResourceUpdaterMessage.Text = value; }
            get { return _currentResourceUpdaterMessage.Text; }
        }

        public ResourceReferenceUpdaterForm()
        {
            InitializeComponent();
        }

        void ResourceReferenceUpdaterForm_Shown(object sender, EventArgs e)
        {
            ResourceReferenceUpdater._run();
            Close();
        }

    }
}
